package com.project.bean;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 柱状图实体对象
 */
@Data
@NoArgsConstructor
public class ColumnBean {
    /**产品类别*/
    private String type;
    /**月份*/
    private String month;
    /**销售总件数*/
    private Integer num;

    public ColumnBean(String type, String month, Integer num) {
        this.type = type;
        this.month = month;
        this.num = num;
    }

    @Override
    public String toString() {
        return "ColumnBean{" +
                "type='" + type + '\'' +
                ", month='" + month + '\'' +
                ", num=" + num +
                '}'+"\n";
    }
}
